package com.kc.gb.device.plugins.ptl.dto;

import com.kc.gb.feign.ptl.support.enums.*;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class PtlLightState {
    int lightNo;
    PtlLightOnOff lightStatus;
    PtlLightColor color;

    PtlLedOnOff ledStatus;
    int num;

    PtlButtonStatus buttonStatus;

    PtlBeepStatus beepStatus;

    public PtlLightState(int lightNo) {
        this.lightNo = lightNo;
        this.lightStatus = PtlLightOnOff.LIGHT_OFF;
        this.color = PtlLightColor.RED;
        this.ledStatus = PtlLedOnOff.LED_OFF;
        this.num = 0;
        this.buttonStatus = PtlButtonStatus.BEEP_UNLOCK;
        this.beepStatus = PtlBeepStatus.BEEP_OFF;
    }
}
